<!DOCTYPE html>
<html>
    <head>
        <?
        print Main::GetHeadStyles();
        Module::Init('system:jscore');
        Jscore::Engage('less', JSLIBS . "/less/less.min.js");
        Jscore::Engage('jquery', JSLIBS . "/jquery/jquery.min.js");
        Jscore::Engage('jqueryui', JSLIBS . "/jqueryui/jquery-ui.js", JSLIBS . "/jqueryui/css/base/jquery-ui.css");
        Jscore::Engage('fancybox', JSLIBS . "/fancybox/jquery.fancybox.js", JSLIBS . "/fancybox/jquery.fancybox.css");
        Jscore::Init('jquery', 'jqueryui', 'less', 'fancybox');
        print Main::GetHeadScripts();
        Jscore::GetBridge();
        Main::AddHeadStyle($MAIN->template->uri . "/less/template.less");
        Main::AddHeadScript($MAIN->template->uri . "/js/script.js");
        ?>
    </head>
    <body>
        <div class="menu">
            <a href="/" target="_blank">Site</a>
            <a href="/admin/">Structure</a>
            <a href="/admin/content.php">Content</a>
            <span class="time"><?=date("H:i:s")?></span>
        </div>
